package com.wmyg.tracker.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class Qrcode extends PageVo{

    private Long qrcodeId;//二维码id

    private String productId;//产品

    private String productBatch;//生产批次

    private String productEnvironment;//生产环境

    private String materialBatch;//原料批次

    private Integer totalNum;//总数

    private Integer caseNum;//箱数

    private Integer boxNum;//盒数

    private Integer packageNum;//包数

    private Date entryTime;//录入时间

    private String entryPerson;//录入人

    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm")
    private Date productTime;//生产时间

    private String excelUrl;//excel路径

    private String productTimeStr;

    private String factoryName;//工厂名称

    private String qrCodeNumber;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productQualityTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productCreatTime;

    private String productBatch1;

}
